{extend name="layouts@base" /}
{block name="head"}
<link rel="stylesheet" href="__STATIC__/mobile/default/css/wallet.css"/>
{/block}
{block name='pageType'}chongzhi{/block}
{block name="main" }
<div class="page-bd">
    <!-- 页面内容-->
    <div class="inputBlock">
        <div class="tips fs24 fw_b color_9">
            订单号
            {if condition="$data.type eq 1"}
            {$data.order_sn}
            {else/}

            {/if}
        </div>
    </div>

    <div class="inputBlock">
        <div class="tips fs24 fw_b color_9">总价格：{$data.order_amount}元</div>
    </div>

    <div class="paytype">
    </div>
    {if condition="$data.type eq 1"}
    <div class="button fs32 fw_b color_w BGcolor_r postBtn">确认支付</div>
    {else/}
    <div id="Msg" style="padding: 30px 8px 20px 8px; color: #FF0000; text-align: center">您的订单不存在，请重新下单!</div>
    {/if}


</div>
{/block}

{block name="footer"}
<script>
$(function() {
	//end
	//提交
	$('.postBtn').click(function(){
        window.location.href = '{:_url("shop/payment/getCodeStore",'',false)}/?order_id={$data.order_id}&pay_code=weixin';
	})

})
</script>
{/block}